import { LogLevel } from "../components/types";
import type { CharacteristicItem } from "../components/types";

type PartStatusItem = { partName: string; percentage: number; runingStatus: string };
type LogItemInfo = { logLevel: LogLevel; text: string; title: string };
type DispatcherMessage = {
  value: string;
  task: {
    id: string;
    deviceClientId: string;
    deviceName: string;
    taskName: string;
    address: string;
    dataType: string;
    interval: number;
    taskType: string;
  };
};
type CharacteristicDictionary = { [key: string]: CharacteristicItem };

export type { PartStatusItem, LogItemInfo, DispatcherMessage, CharacteristicDictionary };
